﻿/*文件注释
 * ===============================================================================
 * 说明：
 * 作者：zengyy
 * 版本：v1.0
 * 创建日期：2013/11/13 10:00:46
 * 完成日期： 
 * 修改纪录：  
 * ===============================================================================
 */
using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace SRF.Admin.Models
{
    ///<summay>
    /// 
    ///</summay>
    [Serializable]
    public class UrlRequestLog
    {
        #region 属性

        /// <summary>
        /// 
        /// </summary>

        [DisplayName("Id")]
        public string Id { get; set; }
        /// <summary>
        /// 用户Id
        /// </summary>

        [DisplayName("用户Id")]
        public string UserId { get; set; }
        /// <summary>
        /// 请求Url
        /// </summary>
        [StringLength(1000)]
        [Required(ErrorMessage = "请输入请求Url")]
        [DisplayName("请求Url")]
        public string Url { get; set; }
        /// <summary>
        /// 客户端IP
        /// </summary>
        [StringLength(128)]
        [Required(ErrorMessage = "请输入客户端IP")]
        [DisplayName("客户端IP")]
        public string Ip { get; set; }
        /// <summary>
        /// 客户端浏览器
        /// </summary>
        [StringLength(100)]
        [Required(ErrorMessage = "请输入客户端浏览器")]
        [DisplayName("客户端浏览器")]
        public string Browser { get; set; }
        /// <summary>
        /// 请求时间
        /// </summary>
        [Required(ErrorMessage = "请输入请求时间")]
        [DisplayName("请求时间")]
        public System.DateTime RequestTime { get; set; }

        #endregion
    }
}